<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr=["老李","老王","老高","老孙"];
        var i=Math.floor(Math.random()*4);
        console.log(arr[i])
    </script>
</body>
</html>